{{ define "template/addNewProduct.html" }}
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="Content-Type" content="text/html"/>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"/>
    <script src="/static/js/jquery-1.12.4.min.js"></script>
    <script type="application/javascript" src="/static/js/jquery.cookie-1.4.1.min.js"></script>
    <!--    <script src="/static/js/qrscan.js"></script>-->
    <!--    <script src="/static/js/UPNG.js"></script>-->
    <!--    <script src="/static/js/jsQR.js"></script>-->
    <script src="/static/js/scanQrCode.js"></script>
    <link rel="stylesheet" href="/static/css/scanQrCode.css">
    <link rel="stylesheet" href="../../static/css/addNewProduct.css">
    <title>{{ .title }}</title>
</head>
<body>
<div class="headTitle col-md-12 col-xs-12 col-sm-12">
    <div class="head_logo">
        <a href="/admin"><img src="../../static/img/login_logo.png" alt=""></a>
    </div>
    <div class="user_menu">
        <ul>
            {{ if .name }}
            <li><a id="login"><img src="../../static/img/login32.png">欢迎您：</a></li>
            <li>
                <a id="registry" style="margin-left: -15px" onclick="showHideMenu()"><strong>{{ .name }}</strong></a>
            </li>
            {{ else }}
            <li>
                <a id="registry" style="margin-left: -15px" onclick="mobileLogin()"><strong>登录</strong></a>
            </li>
            {{end}}
        </ul>
    </div>
    <div class="userMenuPanel">
        <ul>
            <!--            {{ if .success }}-->
            <!--            <li id="myOrder" ><span onclick="myWorkOder()">我的工单</span></li>-->
            <!--            {{ end }}-->
            <!--            <hr>-->
            <li onclick="quitLogin()">退出登录</li>
        </ul>
    </div>
</div>
<div id="result" class="col-sm-12">
    <div class="col-sm-12 form_panel">
        <form>
            <div class="form-group">
                <b class="ts">*</b>
                <label for="img_url">图片链接：</label>
                <input type="text" class="form-control" id="img_url" placeholder="image_url">
            </div>
            <div class="form-group">
                <b class="ts">*</b>
                <label for="jump_url">购买链接：</label>
                <input type="text" class="form-control" id="jump_url" placeholder="mall_url">
            </div>
            <div class="form-group">
                <label for="remark">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</label>
                <textarea name="remark" id="remark" rows="3" placeholder="Yes,Please enter remarks，No Null"></textarea>
            </div>
            <div class="form-group">
                <label>图片预览：</label>
                <div class="img_show">
                    <img id="image_show" alt="" src="/static/img/sl.png">
                </div>
            </div>
            <!--            <div class="form-group">-->
            <!--                <label for="exampleInputFile">File input</label>-->
            <!--                <input type="file" id="exampleInputFile">-->
            <!--            </div>-->
        </form>
    </div>
    <div class="btn_panel">
        <div class="err">
            <span></span>
        </div>
        <div class="btn_button">
            <button type="submit" class="btn btn-default btn_tj" onclick="submit_data()">提&nbsp;交</button>
        </div>
    </div>
</div>
<!-- 底部栏 -->
<div class="bottom col-md-12 col-xs-12">
    <div class="text_url">
            <span>友情链接:
                <a href="http://cn.lianliwork.com/">链力官网</a> |
                <a href="http://sh.lianliwork.com:8088">链力售后</a> |
                <a href="http://cn.lianliwork.com/about.html">关于我们</a> |
                <a href="https://v3.bootcss.com/">bootstrap</a> |
                <a href="https://www.baidu.com/">百度</a>
            </span>
        <span id="filing">备案号：<i>粤ICP备2022032841号</i></span>
    </div>
</div>

<script type="application/javascript" src="../../static/js/addNewProduct.js"></script>
</body>
</html>
{{end}}